package org.dromara.netbar.domain.bo;

import org.dromara.netbar.domain.NetbarSeatMemberRate;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.math.BigDecimal;

/**
 * 座位-会员费率关联业务对象 netbar_seat_member_rate
 *
 * @author Lion Li
 * @date 2025-07-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = NetbarSeatMemberRate.class, reverseConvertGenerate = false)
public class NetbarSeatMemberRateBo extends BaseEntity {

    /**
     * 关联ID
     */
    @NotNull(message = "关联ID不能为空", groups = { EditGroup.class })
    private Long seatMemberRateId;

    /**
     * 关联 seat_types.id
     */
    @NotNull(message = "关联 seat_types.id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long seatTypeId;

    /**
     * 关联 member_levels.id
     */
    @NotNull(message = "关联 member_levels.id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long memberLevelId;

    /**
     * 该会员等级对应费率
     */
    @NotNull(message = "该会员等级对应费率不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long memberRate;


}
